package com.ktjiaoyu.crm.repository;


import com.ktjiaoyu.crm.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface UsrRepository extends JpaRepository<User,Long>, JpaSpecificationExecutor<User> {
    public List<User> findUserByUsrNameAndUsrPasswd(String usrName,String usrPasswd);
    public List<User> findUserByUsrName(String usrName);
}
